import Vue from 'vue'
import Router from 'vue-router'
import TakeoutInfo from '@/views/TakeoutInfo'
import timeList from '@/views/TimeList'
import AddSendTime from '@/views/AddSendTime'
import Invoice from '@/views/Invoice'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'TakeoutInfo',
      component: TakeoutInfo
    },
    {
      path: '/time_list',
      name: 'timeList',
      component: timeList
    },
    {
      path: '/add_time',
      name: 'AddSendTime',
      component: AddSendTime
    },
    {
      path: '/invoice',
      name: 'Invoice',
      component: Invoice
    }
  ]
})
